<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<meta content="" charset="UTF-8">
<html>
<head>
    <title>古丽巴格镇中心校网站</title>
    <script src="__PUBLIC__/Js/jquery-1.4a2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.8.3.js"></script>
    <script src="__PUBLIC__/Js/jquery.KinSlideshow-1.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/re_show.css">
    <script type="text/javascript">
        $(function(){
            var y=$('#y').text();
            var t=$('#t').text();
            var kk=$('select[name=school_year] > option');
            var ll=$('select[name=term] > option');
            for(var i=0;i<kk.length;i++){
                if($(kk[i]).val()==y){
                    $(kk[i]).attr("selected",true);
                }
            }

            for(var i=0;i<ll.length;i++){
                if($(ll[i]).val()==t){
                    $(ll[i]).attr("selected",true);
                }
            }


        });
    </script>

<body>
<!--header start-->
<include file="Common:header"/>
<!--header end-->

<!--body start-->
<div class="body">
    <!--左边-->
    <div class="left_main" id="left_main">
        <!--在线办事，成绩查询-->
        <include file="Common:kuai_su"/>
        <!--本月热门-->
        <include file="Common:zui_re"/>
        <!--行政办公-->
        <include file="Common:masters"/>
        <!--最下面花案-->
        <div class="the_bottom"></div>
    </div>
    <!--内容框-->
    <div class="lists" id="lists">
        <div id="lists_title">
            <div id="lists_icon"></div>
            <p>成绩查询</p>
        </div>

        <div id="lists_content">
            <div id="position">
                <p>
                    <span>您现在的位置:</span>
                    <span>&nbsp;&nbsp;首页</span>
                    <span>>>家校互动</span>
                    <span>>>成绩查询</span>
                </p>
            </div>
            <div id="list_frame">
                <!--书记，校长信箱-->
                <div id="s_c">
                    <form action="{:U(GROUP_NAME.'/Search/show')}" method="post">
                            <div id="yy">
                                <span>请选择学年</span>
                                <select name="school_year">
                                    <foreach name="sch_year" item="m">
                                        <option value="{$m.l}-{$m.b}">{$m.l}-{$m.b}</option>
                                    </foreach>
                                </select>
                            </div>
                            <div id="tt">
                                <span>请选择学期</span>
                                <select name="term">
                                    <option value="1">1</option>
                                    <option value="2">2</option>
                                </select>
                            </div>
                            <div id="ss">
                                <span>你的身份正号</span>
                                <input type="text" name="student_number" value="{$number}" readonly="readonly">
                            </div>
                            <div id="vv">
                                <input type="submit" value="查询">
                            </div>
                    </form>
                    <table class="table" border="1">
                        <tr>
                            <th>学籍号</th>
                            <th>考号</th>
                            <th>班级</th>
                            <th>姓名</th>
                            <th>学年</th>
                            <th>学期</th>
                        </tr>
                        <tr>
                            <td>{$nati.student_number}</td>
                            <td>{$nati.test_number}</td>
                            <td>{$nati.class}</td>
                            <td>{$nati.student_name}</td>
                            <td id="y">{$nati.school_year}</td>
                            <td id="t">{$nati.term}</td>
                        </tr>
                        <foreach name="sub_res" item="v">
                            <tr>
                                <td>{$v.subject}</td>
                                <td colspan="5">{$v.result}</td>
                            </tr>
                        </foreach>
                        <tr>
                        <td>平均分</td>
                        <td colspan="5">{$p}</td>
                        </tr>
                        <tr>
                            <td>总分</td>
                            <td colspan="5">{$z}</td>
                        </tr>
                        <tr>
                            <td>合格科目数</td>
                            <td colspan="5">{$hh}</td>
                        </tr>
                        <tr>
                            <td>班级等级</td>
                            <td colspan="5">{$d}</td>
                        </tr>
                        <tr>
                            <td>全校等级</td>
                            <td colspan="5">{$dd}</td>
                        </tr>
                    </table>
                </div>


            </div>
        </div>
    </div>
    <!--友情链接-->
    <include file="Common:link"/>
</div>
<!--body end-->
<!--footer start-->
<include file="Common:footer"/>
<!--footer end-->
</body>
</html>